package com.open.capacity.notice.provider.wechat.interactive.res;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = false)
public class SecondLoginResponse extends WechatResponse {

	/**
	 * 响应体
	 */
	@JsonProperty("data")
	private SecondLoginData data;

	@Data
	@JsonInclude(JsonInclude.Include.NON_NULL)
	public static class SecondLoginData {

		/**
		 * 1、 微信id
		 */
		@JsonProperty("wId")
		private String wId;

		/**
		 * 1、 微信id
		 */
		@JsonProperty("wcId")
		private String wcId;

		/**
		 * 2、昵称
		 */
		@JsonProperty("nickName")
		private String nickName;

		/**
		 * 2、头像url
		 */
		@JsonProperty("headUrl")
		private String headUrl;

		/**
		 * 2、手机上显示的微信号
		 */
		@JsonProperty("wAccount")
		private String wAccount;

		/**
		 * 2、性别
		 */
		@JsonProperty("sex")
		private Integer sex;

		/**
		 * 2、保留字段
		 */
		@JsonProperty("status")
		private String status;
	}
}
